package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ArticleMapper extends BaseMapper<ApArticle> {

     List<ApArticle> getArticleList(ArticleHomeDto dto,Integer type);

     List<ApArticle> selectArticleByFiveDayAgo(@Param("dayParam") Date dayParam);


}
